<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script>
        console.log('head');
    </script>

</head>

<body>

     <!-- JavaScript：是一种解释性语言 -->

    <script type="text/javascript">
        console.log('body');
        console.debug('body');
        console.warn('body');
        console.error('body');
    </script>

</body>

</html>

<script>
    console.log('after html');
</script>